********************************************************************************************************************************************
* This replication file runs the code which performs a switch of a notary from one location to another for each of the judicial districts. *
********************************************************************************************************************************************

*************************
* 0 Set path to files *
*************************
clear all
capture log close
set more off
set trace off 
mata: mata set matastrict off
cd $main_directory

local districts "1 2 3 4 5 6 8 9 10 11 12"
foreach district of local districts {
global select_arrond `district' //This selects a particular judicial district.
di "$select_arrond"
do 06_02_lambda_switches_function.do
}


